package com.irdstudio.efp.riskm.service.dao;


import com.irdstudio.efp.riskm.service.domain.ColltDelayCaseRecord;
import com.irdstudio.efp.riskm.service.domain.ColltResRecord;
import com.irdstudio.efp.riskm.service.vo.ColltDelayCaseRecordVO;
import com.irdstudio.efp.riskm.service.vo.ColltResRecordVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * <p>DAO interface:委外催收延案记录表<p>
 * @author ligm
 * @date 2019-08-27
 */
public interface ColltDelayCaseRecordDao {
	
	public int insertColltDelayCaseRecord(ColltDelayCaseRecord colltDelayCaseRecord);
	
	public int deleteByPk(ColltDelayCaseRecord colltDelayCaseRecord);
	
	public int updateByPk(ColltDelayCaseRecord colltDelayCaseRecord);
	
	public ColltDelayCaseRecord queryByPk(ColltDelayCaseRecord colltDelayCaseRecord);
	
	public List<ColltDelayCaseRecord> queryAllOwnerByPage(ColltDelayCaseRecordVO colltDelayCaseRecord);
	
	public List<ColltDelayCaseRecord> queryAllCurrOrgByPage(ColltDelayCaseRecordVO colltDelayCaseRecord);
	
	public List<ColltDelayCaseRecord> queryAllCurrDownOrgByPage(ColltDelayCaseRecordVO colltDelayCaseRecord);

	public int insertVoBatch(List<ColltDelayCaseRecord> colltDelayCaseRecordList);

	public int deleteByDelayCaseAppSerno(String delayCaseAppSerno);

	public List<ColltDelayCaseRecord> queryByDelayCaseRecords(ColltDelayCaseRecord colltDelayCaseRecord);

	public int deleteOneDomain(ColltDelayCaseRecord colltDelayCaseRecord);

	public List<ColltDelayCaseRecord> queryByDCR(@Param("delayCaseAppSerno") String delayCaseAppSerno);

}
